home *** CD-ROM | disk | FTP | other *** search
/ Aminet 40 / Aminet 40 (2000)(Schatztruhe)[!][Dec 2000].iso / Aminet / util / virus / xvslibrary.lha / Xvs / Developer / include / C / inline / xvs.h
C/C++ Source or Header  |  1999-04-26  |  2KB  |  69 lines

  1. #ifndef _INLINE_XVS_H
  2. #define _INLINE_XVS_H
  3.  
  4. #ifndef __INLINE_MACROS_H
  5. #include <inline/macros.h>
  6. #endif
  7.  
  8. #ifndef XVS_BASE_NAME
  9. #define XVS_BASE_NAME xvsBase
  10. #endif
  11.  
  12. #define xvsSelfTest() \
  13.     LP0(0x1E, BOOL, xvsSelfTest, \
  14.     , XVS_BASE_NAME)
  15.  
  16. #define xvsCreateVirusList(listtype) \
  17.     LP1(0x24, struct xvsVirusList *, xvsCreateVirusList, ULONG, listtype, d0, \
  18.     , XVS_BASE_NAME)
  19.  
  20. #define xvsFreeVirusList(list) \
  21.     LP1NR(0x2A, xvsFreeVirusList, struct xvsVirusList *, list, a1, \
  22.     , XVS_BASE_NAME)
  23.  
  24. #define xvsAllocObject(objecttype) \
  25.     LP1(0x30, APTR, xvsAllocObject, ULONG, objecttype, d0, \
  26.     , XVS_BASE_NAME)
  27.  
  28. #define xvsFreeObject(object) \
  29.     LP1NR(0x36, xvsFreeObject, APTR, object, a1, \
  30.     , XVS_BASE_NAME)
  31.  
  32. #define xvsObjectType(object) \
  33.     LP1(0x3C, ULONG, xvsObjectType, APTR, object, a1, \
  34.     , XVS_BASE_NAME)
  35.  
  36. #define xvsCheckBootblock(bootinfo) \
  37.     LP1(0x42, ULONG, xvsCheckBootblock, struct xvsBootInfo *, bootinfo, a0, \
  38.     , XVS_BASE_NAME)
  39.  
  40. #define xvsInstallBootblock(bootblock, boottype, dostype) \
  41.     LP3NR(0x48, xvsInstallBootblock, APTR, bootblock, a0, ULONG, boottype, d0, ULONG, dostype, d1, \
  42.     , XVS_BASE_NAME)
  43.  
  44. #define xvsSumBootblock(bootblock, offset) \
  45.     LP2NR(0x4E, xvsSumBootblock, APTR, bootblock, a0, ULONG, offset, d0, \
  46.     , XVS_BASE_NAME)
  47.  
  48. #define xvsCheckSector(sectorinfo) \
  49.     LP1(0x54, ULONG, xvsCheckSector, struct xvsSectorInfo *, sectorinfo, a0, \
  50.     , XVS_BASE_NAME)
  51.  
  52. #define xvsRepairSector(sectorinfo) \
  53.     LP1(0x5A, BOOL, xvsRepairSector, struct xvsSectorInfo *, sectorinfo, a0, \
  54.     , XVS_BASE_NAME)
  55.  
  56. #define xvsCheckFile(fileinfo) \
  57.     LP1(0x60, ULONG, xvsCheckFile, struct xvsFileInfo *, fileinfo, a0, \
  58.     , XVS_BASE_NAME)
  59.  
  60. #define xvsRepairFile(fileinfo) \
  61.     LP1(0x66, BOOL, xvsRepairFile, struct xvsFileInfo *, fileinfo, a0, \
  62.     , XVS_BASE_NAME)
  63.  
  64. #define xvsSurveyMemory(memoryinfo) \
  65.     LP1(0x6C, ULONG, xvsSurveyMemory, struct xvsMemoryInfo *, memoryinfo, a0, \
  66.     , XVS_BASE_NAME)
  67.  
  68. #endif /*  _INLINE_XVS_H  */
  69.